<!DOCTYPE html>
<html>
<head>
<title>企业资料</title>
#parse("sys/header.html")
<style type="text/css">
	.col-sm-3 {
		padding-top:7px;
	}
</style>
</head>

<body>
<div id="viewapp" v-cloak>
	<div class="form-horizontal" style="width: 100%">
	<div class="form-group">
    	<label class="control-label col-sm-4"></label>
        <div class="col-sm-8" >
            <div style="float: left;padding-left:0px;" >
	      		<img id="cardImg5" onclick="viewImg(this.src,'5')" style="cursor: pointer;" :src="merchantInfo.logo"  />
	      	</div>
        </div>
    </div>
    <div class="form-group">
    	<label class="control-label col-sm-2">企业名：</label>
        <div class="col-sm-3">
            {{merchantInfo.shopName}}
        </div>
        <label class="control-label col-sm-2">企业简称：</label>
        <div class="col-sm-3">
            {{merchantInfo.shopAddress}}
        </div>
    </div>
    <div class="form-group">
    	<label class="control-label col-sm-2">企业联系地址：</label>
        <div class="col-sm-3">
            {{merchantInfo.shopName}}
        </div>
        <label class="control-label col-sm-2">客服电话：</label>
        <div class="col-sm-3">
            {{merchantInfo.shopAddress}}
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-sm-2">联系人：</label>
        <div class="col-sm-3">
            {{merchantInfo.username}}
        </div>
        <label class="control-label col-sm-2">联系人电话：</label>
        <div class="col-sm-3">
            {{merchantInfo.mobilephone}}
        </div>
    </div>
    
    <div class="form-group">
    	 <label class="control-label col-sm-2">联系人邮箱：</label>
        <div class="col-sm-3">
            {{merchantInfo.email}}
        </div>
<!--     	<label class="control-label col-sm-2">QQ：</label>
        <div class="col-sm-3">
            {{merchantInfo.qq}}
        </div>
 -->    </div>
    
    <div class="form-group">
    	 <label class="control-label col-sm-2">法人姓名：</label>
        <div class="col-sm-3">
            {{merchantInfo.email}}
        </div>
    	<label class="control-label col-sm-2">法人身份证号码：</label>
		<div class="col-sm-3">
           {{merchantInfo.idCard}}
       </div>
    </div>
    
    <div class="form-group">
    	<label class="control-label col-sm-2">法人身份证：</label>
        <div class="col-sm-8">
            <div style="float: left" >
	   			<img id="cardImg1" onclick="viewImg(this.src,'1')" style="cursor: pointer;" :src="merchantInfo.positiveImg"  >
	   		</div>
	   		<div style="float: left;padding-left:20px;" >
	   			<img id="cardImg2" onclick="viewImg(this.src,'2')" style="cursor: pointer;" :src="merchantInfo.oppositeImg"  >
	   		</div>
        </div>
    </div>
    
     <div class="form-group">
    	<label class="control-label col-sm-2">营业执照：</label>
        <div class="col-sm-3">
            <div style="float: left" >
	   			<img id="cardImg15" onclick="viewImg(this.src,'15')" style="cursor: pointer;" :src="merchantInfo.businessLicenseImg"  >
	   		</div>
        </div>
    </div>
    
    <div class="form-group">
    <label class="control-label col-sm-2">银行开户许可证：</label>
        <div class="col-sm-3">
            <div style="float: left" >
	   			<img id="cardImg6" onclick="viewImg(this.src,'6')" style="cursor: pointer;" :src="merchantInfo.bankLicenseImg"  >
	   		</div>
        </div>
    </div>
    
    <div class="form-group">
    	<label class="control-label col-sm-2">结算授权书：</label>
        <div class="col-sm-3">
            <div style="float: left" >
	   			<img id="cardImg7" onclick="viewImg(this.src,'7')" style="cursor: pointer;" :src="merchantInfo.settlementBookImg"  >
	   		</div>
        </div>
    </div>
    
    
     <div class="form-group">
    	<label class="control-label col-sm-2">结算人身份证：</label>
        <div class="col-sm-8">
            <div style="float: left" >
	   			<img id="cardImg9" onclick="viewImg(this.src,'9')" style="cursor: pointer;" :src="merchantInfo.settleUserPositiveImg"  >
	   		</div>
	   		<div style="float: left;padding-left:20px;" >
	   			<img id="cardImg10" onclick="viewImg(this.src,'10')" style="cursor: pointer;" :src="merchantInfo.settleUserOppositeImg"  >
	   		</div>
        </div>
    </div>
    
     <div class="form-group">
    	<label class="control-label col-sm-2">结算人银行卡：</label>
        <div class="col-sm-8">
            <div style="float: left" >
	   			<img id="cardImg11" onclick="viewImg(this.src,'11')" style="cursor: pointer;" :src="merchantInfo.settleBankPositiveImg"  >
	   		</div>
	   		<div style="float: left;padding-left:20px;" >
	   			<img id="cardImg12" onclick="viewImg(this.src,'12')" style="cursor: pointer;" :src="merchantInfo.settleBankOppositeImg"  >
	   		</div>
        </div>
    </div>
    
    <!-- <div class="form-group">
   		<label class="control-label col-sm-2">结算账户申请书或印鉴卡：</label>
        <div class="col-sm-3">
            <div style="float: left" >
	   			<img id="cardImg8" onclick="viewImg(this.src,'8')" style="cursor: pointer;" :src="merchantInfo.sealCardImg"  >
	   		</div>
        </div>
    </div> -->
    
    <div class="form-group">
    	<label class="control-label col-sm-2">企业照片：</label>
        <div class="col-sm-8" >
        	<div style="float: left;" >
	      		<img id="cardImg4" onclick="viewImg(this.src,'4')" style="cursor: pointer;" :src="merchantInfo.outerImg"  />
	      	</div>
        	<!-- <div style="float: left;padding-top:20px;" >
            	<img id="cardImg3" onclick="viewImg(this.src,'3')" style="cursor: pointer;" :src="merchantInfo.innerImg"   />
            </div>  -->
            
	      	<!--  <div style="float: left;padding-top:20px;" >
	      		<img id="cardImg13" onclick="viewImg(this.src,'13')" style="cursor: pointer;" :src="merchantInfo.doorHeadImg"  />
	      	</div> -->
        </div>
    </div>
    
 <!--    <div class="form-group">
     	<label class="control-label col-sm-2">用户地址：</label>
        <div class="col-sm-3">
            {{merchantInfo.address}}
        </div>
    </div> -->
    <div class="form-group">
        <label class="control-label col-sm-2">提交申请时间：</label>
        <div class="col-sm-3">
            {{merchantInfo.applyTime}}
        </div>
        <label class="control-label col-sm-2">企业审核时间：</label>
        <div class="col-sm-3">
            {{merchantInfo.joinTime}}
        </div>
    </div>
</div>
    
</div>

<script src="${rc.contextPath}/js/merchant/view.js?_${date.systemTime}"></script>
<script type="text/javascript">
	$(function() {
		//获取网页参数
		(function($) {
			$.getUrlParam = function(name) {
				var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
				var r = window.location.search.substr(1).match(reg);
				if (r != null)
					return unescape(r[2]);
				return null;
			}
		})(jQuery);
		id = $.getUrlParam('id');
		vm.getInfo(id);
	});
	function viewImg(url,num){
		if(url != null && url !=''){
			layer.open({
				  type: 1,
				  title: false,
				  closeBtn: 0,
				 // area: '516px',
				  skin: 'layui-layer-nobg', //没有背景色
				  shadeClose: true,
				  content: $('#cardImg'+num)
				});
			
			
		/* 	parent.layer.open({
				  type: 1,
				  title: false,
				  area: ['330px', '230px'],
				  shade: 0.8,
				  closeBtn: 0,
				  shadeClose: true,
				  //content:"<div style='text-align: center;margin-top: 14px;'><img src='"+url+"' width='300' height='200'></div>"
				 content: $('#imgCode'+num)
			}); */
			
		}
	}
</script>
</body>
</html>